package ModelLayer;


/**
 * Person
 * 
 * @Jeff
 * @1.0
 * 
 * Contains information about a specific person
 * Contains get and set for this data
 */
public class Person
{
    // instance variables - replace the example below with your own
    private int id;
    private String name;
    private String address;
    private int zipCode;
    private String city;
    private String phone;

    /**
     * Constructor for objects of class Person
     */
    public Person(int id, String name, String address, int zipCode, String city, String phone)
    {
        this.id = id;
        this.name = name;
        this.address = address;
        this.zipCode = zipCode;
        this.city = city;
        this.phone = phone;
    }

    //Get id
    public int getId()
    {
        return id;
    }
    
    //Set id
    public void setId(int id)
    {
        this.id = id;
    }
    
    //Get name
    public String getName()
    {
        return name;
    }
    
    //Set name
    public void setName(String name)
    {
        this.name = name;
    }
    
    //Get name
    public String getAddress()
    {
        return address;
    }
    
    //Set name
    public void setAddress(String address)
    {
        this.address = address;
    }
    
    //Get zipcode
    public int getZipcode()
    {
        return zipCode;
    }
    
    //Set zipcode
    public void setZipcode(int zipCode)
    {
        this.zipCode = zipCode;
    }
    
    //Get city
    public String getCity()
    {
        return city;
    }
    
    //Set city
    public void setCity(String city)
    {
        this.city = city;
    }
    
    //Get phone
    public String getPhone()
    {
        return phone;
    }
    
    //Set phone
    public void setPhone(String phone)
    {
        this.phone = phone;
    }
}
